﻿<!DOCTYPE html>
<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />
    </head>
    <body>
	    <div id="container">
	    	<div id="header">
	    		<div style="float:left; font-family:华文楷体;">
		    		<a href="${createLink(uri: '/')}" title="人大代表信息管理平台"><img style="border: 0 none;" src="${resource(dir:'images',file:'title.png')}" width="900px" height="90px"/></a>
					<div style='float: right;'>
					当前用户：<sec:username />&nbsp;&nbsp;<g:link controller="user" action="showChangePw" style="font-weight:normal;">更改密码</g:link>&nbsp;&nbsp;<g:link controller="logout" style="font-weight:normal;">退出</g:link>
					</div>
		    	</div>
	    	</div>
			<div id="leftcol" style="font-family:华文新魏; ">
				<p style="height:20px;text-align:center;border: 0 none;">
					<img src="${resource(dir:'images',file:'search.jpg')}" />
				</p>				
				<p>
					<g:link url="${resource(dir:'member')}"  ><img src="${resource(dir:'images',file:'san.png')}" />代表管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'congress')}"  ><img src="${resource(dir:'images',file:'san.png')}" />会议管理</g:link>
				</p>
				<p >
					<g:link url="${resource(dir:'report')}"  ><img src="${resource(dir:'images',file:'san.png')}" />会议报告</g:link>
				</p>
				<sec:ifAnyGranted roles="ROLE_ADMIN">
				<p style="height:20px;text-align:center;border: 0 none;">
					<img src="${resource(dir:'images',file:'setting.jpg')}" width=120px; />
				</p>
				<p>
					<g:link url="${resource(dir:'user')}" ><img src="${resource(dir:'images',file:'san.png')}" />  操作员管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'nation')}" ><img src="${resource(dir:'images',file:'san.png')}" />民族管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'party')}" ><img src="${resource(dir:'images',file:'san.png')}" />党派管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'memberGroup')}" ><img src="${resource(dir:'images',file:'san.png')}"/>组别管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'jobTitle')}" ><img src="${resource(dir:'images',file:'san.png')}" />职位管理</g:link>
				</p>
				<p>
					<g:link url="${resource(dir:'checkInTimer')}" ><img src="${resource(dir:'images',file:'san.png')}"/>签到机管理</g:link>
				</p>
				</sec:ifAnyGranted>
			</div>

			<div id="main_content"><g:layoutBody /></div>
			<div id="footer" style="font-family:华文楷体">
			<p>
			_________________________________________________________________
			</p>
				&copy;<a href="http://www.sh-hansi.com" target="_blank">上海悍思企业管理咨询有限公司</a>技术支持
			</div>
	    </div>
    </body>
</html>